#-------------------------------------------------
#
# Project created by QtCreator 2023-11-03T09:01:53
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = SmartHomeClient
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
include(net/net.pri)
include(data/data.pri)

CONFIG += c++11

SOURCES += \
        main.cpp \
        mainpage.cpp \
        qlight2button.cpp \
        qlight3button.cpp \
        qlight4button.cpp \
        qnewbutton.cpp \
        src/Control/CustomBtnBorder.cpp \
        src/Control/CustomBtnCombox.cpp \
        src/Control/CustomBtnIcon.cpp \
        src/Control/CustomBtnSplit.cpp \
        src/Control/CustomBtnSw.cpp \
        src/Control/CustomEditIcon.cpp \
        src/Control/CustomEditPasswd.cpp \
        src/Control/CustomLabLoad.cpp \
        src/Control/CustomLabScroll.cpp \
        src/Control/CustomLabTip.cpp \
        src/Control/CustomSliderNum.cpp \
        src/Control/CustomTooltip.cpp \
        src/Control/FlatUI.cpp \
        switchbutton.cpp \
        waterprogressbar.cpp

HEADERS += \
        mainpage.h \
        qlight2button.h \
        qlight3button.h \
        qlight4button.h \
        qnewbutton.h \
        src/Control/CustomBtnBorder.h \
        src/Control/CustomBtnCombox.h \
        src/Control/CustomBtnIcon.h \
        src/Control/CustomBtnSplit.h \
        src/Control/CustomBtnSw.h \
        src/Control/CustomEditIcon.h \
        src/Control/CustomEditPasswd.h \
        src/Control/CustomLabLoad.h \
        src/Control/CustomLabScroll.h \
        src/Control/CustomLabTip.h \
        src/Control/CustomSliderNum.h \
        src/Control/CustomTooltip.h \
        src/Control/FlatUI.h \
        src/Util/def.h \
        switchbutton.h \
        waterprogressbar.h

FORMS += \
        mainpage.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    resource/Image/Control/btn_browse Folder_checked.png \
    resource/Image/Control/btn_browse Folder_dis.png \
    resource/Image/Control/btn_browse Folder_unchecked.png \
    resource/Image/Control/btn_cameraDis_hov.png \
    resource/Image/Control/btn_cameraDis_nor.png \
    resource/Image/Control/btn_cameraDis_pre.png \
    resource/Image/Control/btn_chat_hov.png \
    resource/Image/Control/btn_chat_nor.png \
    resource/Image/Control/btn_chat_pre.png \
    resource/Image/Control/btn_download_hov.png \
    resource/Image/Control/btn_download_nor.png \
    resource/Image/Control/btn_download_pre.png \
    resource/Image/Control/btn_editClear_nor.png \
    resource/Image/Control/btn_eye_hov.png \
    resource/Image/Control/btn_eye_nor.png \
    resource/Image/Control/btn_eye_pre.png \
    resource/Image/Control/btn_microphoneDis_hov.png \
    resource/Image/Control/btn_microphoneDis_nor.png \
    resource/Image/Control/btn_microphoneDis_pre.png \
    resource/Image/Control/btn_microphone_dis.png \
    resource/Image/Control/btn_microphone_hov.png \
    resource/Image/Control/btn_microphone_nor.png \
    resource/Image/Control/btn_microphone_pre.png \
    resource/Image/Control/btn_move_hov.png \
    resource/Image/Control/btn_move_nor.png \
    resource/Image/Control/btn_move_pre.png \
    resource/Image/Control/btn_participant_hov.png \
    resource/Image/Control/btn_participant_nor.png \
    resource/Image/Control/btn_participant_pre.png \
    resource/Image/Control/btn_remote_hov.png \
    resource/Image/Control/btn_remote_nor.png \
    resource/Image/Control/btn_remote_pre.png \
    resource/Image/Control/btn_upload_hov.png \
    resource/Image/Control/btn_upload_nor.png \
    resource/Image/Control/btn_upload_pre.png \
    resource/Image/Control/checkBox_checked.png \
    resource/Image/Control/checkBox_unchecked.png \
    resource/Image/Control/icon_arrowDown.png \
    resource/Image/Control/icon_arrowUp.png \
    resource/Image/Control/icon_keyboard.png \
    resource/Image/Control/icon_language.png \
    resource/Image/Control/icon_loading1.png \
    resource/Image/Control/icon_loading2.png \
    resource/Image/Control/icon_loading3.png \
    resource/Image/Control/icon_mike.png \
    resource/Image/Control/icon_password.png \
    resource/Image/Control/icon_shortCut.png \
    resource/Image/Control/icon_tip.png \
    resource/Image/Control/icon_user.png \
    resource/Image/Control/switch_close.png \
    resource/Image/Control/switch_open.png

RESOURCES += \
    resources.qrc





